package com.tinyseed.emcp.api.basicdata.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/***
 * @ClassName: MonitorRstDataLatestOutputDTO
 * @Description: TODO
 * @Auther: Harlan.Xiong
 * @Date: 2019-12-29 16:20
 * @version : V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MonitorRstDataLatestOutputDTO implements Serializable {
    /**
     * 唯一主键
     */
    private String switchSn; //网关序列号

    private String switchVersion; //网关版本号

    private String switchSoftVersion; //网关软件版本号

    private String deviceSn; //生产或治污设备编码，业务中对应监测点

    private Date systemTime; //系统时间

    private Date dataTime;//数据采集时间

    private double ia; //A相电流

    private double ib; //B相电流

    private double ic; //C相电流

    private double ua; //A相电压

    private double ub; //B相电压

    private double uc; //C相电压

    private double ta; //A相温度

    private double tb; //B相温度

    private double tc; //C相温度

    private double pkw;  //总有功率

    private double qkw; //总无功率

    private double the; //功率因数

    private double pi; //总有功电量

    private double qi; //总无功电量

    private double maxI; //最大相电流

    private double maxU; //最大相电压

    private Timestamp createTime;//创建时间

    private int equipmentStatus; //设备最新状态

    private Timestamp reachLimitKwDate; //数据达到功率启停阈值(kW)时间
}
